projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786a27b
)
cmd_mmc: fix bootpart-resize maxarg to 4
author
Wally Yeh
<
[email protected]
>
Thu, 25 Sep 2014 15:00:16 +0000
(23:00 +0800)
committer
Pantelis Antoniou
<
[email protected]
>
Fri, 3 Oct 2014 14:26:50 +0000
(17:26 +0300)
sub-command 'bootpart-resize' check for argc == 4,
it will retrun CMD_RET_FAILURE when argc value not matched.
but bootpart-resize's maxarg is 3, which means you never execute
this sub-command successfully.
fix it by change bootpart-resize maxarg to 4.
Signed-off-by: wally.yeh <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Pierre Aubert <
[email protected]
>
Acked-by: Pantelis Antoniou <
[email protected]
>
common/cmd_mmc.c
patch
|
blob
|
history
diff --git
a/common/cmd_mmc.c
b/common/cmd_mmc.c
index 1e40983c757b1d71efb7ee1a4e7e5d2b6e44734a..4286e2696363cab44b44772251a4f52c488395a2 100644
(file)
--- a/
common/cmd_mmc.c
+++ b/
common/cmd_mmc.c
@@
-602,7
+602,7
@@
static cmd_tbl_t cmd_mmc[] = {
U_BOOT_CMD_MKENT(list, 1, 1, do_mmc_list, "", ""),
#ifdef CONFIG_SUPPORT_EMMC_BOOT
U_BOOT_CMD_MKENT(bootbus, 5, 0, do_mmc_bootbus, "", ""),
- U_BOOT_CMD_MKENT(bootpart-resize,
3
, 0, do_mmc_boot_resize, "", ""),
+ U_BOOT_CMD_MKENT(bootpart-resize,
4
, 0, do_mmc_boot_resize, "", ""),
U_BOOT_CMD_MKENT(partconf, 5, 0, do_mmc_partconf, "", ""),
U_BOOT_CMD_MKENT(rst-function, 3, 0, do_mmc_rst_func, "", ""),
#endif